Finding the unloaded geometry

Finding the unloaded geometry#

from fenics_plotly import plot
import pulse
geometry = pulse.HeartGeometry.from_file(pulse.mesh_paths["simple_ellipsoid"])
# geometry = pulse.geometries.prolate_ellipsoid_geometry(mesh_size_factor=3.0)
material = pulse.NeoHookean()
# material = pulse.Guccione()
2024-06-08 18:26:19,395 [621] INFO     pulse.geometry_utils: 
Load mesh from h5
# Parameter for the cardiac boundary conditions
bcs_parameters = pulse.MechanicsProblem.default_bcs_parameters()
bcs_parameters["base_spring"] = 1.0
bcs_parameters["base_bc"] = "fix_x"
# Create the problem
problem = pulse.MechanicsProblem(geometry, material, bcs_parameters=bcs_parameters)
# Suppose geometry is loaded with a pressure of 1 kPa
# and create the unloader
unloader = pulse.FixedPointUnloader(problem=problem, pressure=3.0)
2024-06-08 18:26:19,524 [621] INFO     pulse.unloader: 

-------------------------- Unloading options ---------------------------

	Target pressure: 3.0
	maxiter = 10
	tolerance = 0.0001
	regenerate_fibers (serial only)= False

------------------------------------------------------------------------
# Unload the geometry
unloader.unload()
2024-06-08 18:26:19,529 [621] INFO     pulse.unloader: ------------------------------------------------------------------------
2024-06-08 18:26:19,530 [621] INFO     pulse.unloader: ----------------------------Start unloading-----------------------------
2024-06-08 18:26:19,530 [621] INFO     pulse.unloader: ------------------------------------------------------------------------
2024-06-08 18:26:19,561 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:19,561 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:19,562 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:19,562 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:19,734 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  1	full
2024-06-08 18:26:20,542 [621] INFO     pulse.unloader: 
LV Volume of original geometry = 0.749 ml
2024-06-08 18:26:20,558 [621] INFO     pulse.unloader: 
Do an intial solve
2024-06-08 18:26:20,646 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:20,646 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:20,647 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:20,647 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:20,648 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:21,150 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2024-06-08 18:26:21,225 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
2024-06-08 18:26:21,430 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2024-06-08 18:26:59,671 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:59,672 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:59,672 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:59,673 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:59,673 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:26:59,849 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2024-06-08 18:26:59,923 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-06-08 18:27:00,111 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-06-08 18:27:03,544 [621] INFO     pulse.unloader: 
Iteration: 0
2024-06-08 18:27:07,083 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-06-08 18:27:07,125 [621] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-06-08 18:27:11,306 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:11,310 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-06-08 18:27:11,354 [621] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-06-08 18:27:11,745 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:11,788 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:11,789 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:11,829 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:11,831 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:11,868 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.568 ml
2024-06-08 18:27:12,020 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:27:12,021 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:27:12,021 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:27:12,022 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:27:12,023 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:27:12,358 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2024-06-08 18:27:12,433 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
2024-06-08 18:27:12,638 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2024-06-08 18:27:50,931 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:27:50,931 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:27:50,932 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:27:50,932 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:27:50,933 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-08 18:27:51,071 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2024-06-08 18:27:51,145 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-06-08 18:27:51,332 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-06-08 18:27:54,788 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.568 ml
2024-06-08 18:27:54,965 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:54,966 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:55,007 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:55,008 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:55,049 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:55,050 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:55,088 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.717 ml
2024-06-08 18:27:55,099 [621] INFO     pulse.unloader: 
Residual:	0.011328623428538017
2024-06-08 18:27:55,100 [621] INFO     pulse.unloader: 
Iteration: 1
2024-06-08 18:27:55,278 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:55,279 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:55,320 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:55,321 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:55,362 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:55,363 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:55,399 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.596 ml
2024-06-08 18:27:58,383 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.596 ml
2024-06-08 18:27:58,561 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,562 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,604 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,605 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,646 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,647 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,684 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.754 ml
2024-06-08 18:27:58,696 [621] INFO     pulse.unloader: 
Residual:	0.001698010214540199
2024-06-08 18:27:58,696 [621] INFO     pulse.unloader: 
Iteration: 2
2024-06-08 18:27:58,873 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,874 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,916 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,917 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,957 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,958 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:27:58,995 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.592 ml
2024-06-08 18:28:01,979 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.592 ml
2024-06-08 18:28:02,157 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,159 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,200 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,201 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,242 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,243 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,280 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.749 ml
2024-06-08 18:28:02,292 [621] INFO     pulse.unloader: 
Residual:	0.0002592876931300245
2024-06-08 18:28:02,292 [621] INFO     pulse.unloader: 
Iteration: 3
2024-06-08 18:28:02,470 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,472 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,513 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,514 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,554 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,555 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:02,592 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.593 ml
2024-06-08 18:28:05,579 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.593 ml
2024-06-08 18:28:05,758 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:05,759 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:05,801 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:05,802 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:05,843 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:05,844 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:05,882 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.750 ml
2024-06-08 18:28:05,893 [621] INFO     pulse.unloader: 
Residual:	3.931304295917144e-05
2024-06-08 18:28:05,894 [621] INFO     pulse.unloader: ########################################################################
Unloading suceeding
# Get the unloaded geometry
unloaded_geometry = unloader.unloaded_geometry
2024-06-08 18:28:06,072 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:06,073 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:06,114 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:06,115 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:06,155 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-08 18:28:06,156 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
fig = plot(geometry.mesh, opacity=0.0, show=False)
fig.add_plot(plot(unloaded_geometry.mesh, color="red", show=False))
fig.show()